package com.zy.edu.service;

import com.zy.edu.bean.InputParam;
import com.zy.edu.bean.ToolInfo;
import com.zy.edu.bean.ToolInfo;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuangHaiShui
 * @since 2021-08-24
 */
public interface ToolInfoService extends IService<ToolInfo> {
    public Map saveOrUpdate(ToolInfo toolInfo);
    public Map list(ToolInfo toolInfo, InputParam inputParam);
    public Map dele( ToolInfo toolInfo);
    Map getById(ToolInfo toolInfo, InputParam inputParam);

    Map photo(MultipartFile file, InputParam inputParam) throws IOException;
}
